package com.ruoyi.project.ledger.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 安全管理监督检查台账---日常检查对象 ledger_safety_management_inspection_daily
 * 
 * @author ruoyi
 * @date 2020-06-15
 */
public class LedgerSafetyManagementInspectionDaily extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 主台账id */
    @Excel(name = "主台账id")
    private Long inspectionId;

    /** 检查内容 */
    @Excel(name = "检查内容")
    private String checkContent;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否存在问题（0-否 1-是） */
    @Excel(name = "是否存在问题", readConverterExp = "0=-否,1=-是")
    private String isProblems;

    /** 整改类型(0-现场整改 1-期限整改) */
    @Excel(name = "整改类型(0-现场整改 1-期限整改)")
    private String rectificationType;

    /** 期限日期 */
    @Excel(name = "期限日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date termDate;

    /** 是否整改(0-否 1-是) */
    @Excel(name = "是否整改(0-否 1-是)")
    private String isRectification;

    /** 整改日期 */
    @Excel(name = "整改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reinspectionDate;

    /** 整改意见 */
    @Excel(name = "整改意见")
    private String rectificationOpinion;

    /** 删除标志位 */
    private String delFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateId;

    private String[] imgs;

    private String[] checkImgs;

    private List<Map<String,Object>> imgList;

    // 复查
    private List<Map<String,Object>> checkImgsList;

    public LedgerSafetyManagementInspectionDaily() {
    }

    public LedgerSafetyManagementInspectionDaily(Long inspectionId) {
        this.inspectionId = inspectionId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInspectionId(Long inspectionId) 
    {
        this.inspectionId = inspectionId;
    }

    public Long getInspectionId() 
    {
        return inspectionId;
    }
    public void setCheckContent(String checkContent) 
    {
        this.checkContent = checkContent;
    }

    public String getCheckContent() 
    {
        return checkContent;
    }
    public void setIsProblems(String isProblems) 
    {
        this.isProblems = isProblems;
    }

    public String getIsProblems() 
    {
        return isProblems;
    }
    public void setRectificationType(String rectificationType) 
    {
        this.rectificationType = rectificationType;
    }

    public String getRectificationType() 
    {
        return rectificationType;
    }
    public void setTermDate(Date termDate) 
    {
        this.termDate = termDate;
    }

    public Date getTermDate() 
    {
        return termDate;
    }
    public void setIsRectification(String isRectification) 
    {
        this.isRectification = isRectification;
    }

    public String getIsRectification() 
    {
        return isRectification;
    }
    public void setReinspectionDate(Date reinspectionDate) 
    {
        this.reinspectionDate = reinspectionDate;
    }

    public Date getReinspectionDate() 
    {
        return reinspectionDate;
    }
    public void setRectificationOpinion(String rectificationOpinion) 
    {
        this.rectificationOpinion = rectificationOpinion;
    }

    public String getRectificationOpinion() 
    {
        return rectificationOpinion;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreateId(String createId) 
    {
        this.createId = createId;
    }

    public String getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(String updateId) 
    {
        this.updateId = updateId;
    }

    public String getUpdateId() 
    {
        return updateId;
    }

    public List<Map<String, Object>> getImgList() {
        return imgList;
    }

    public void setImgList(List<Map<String, Object>> imgList) {
        this.imgList = imgList;
    }

    public List<Map<String, Object>> getCheckImgsList() {
        return checkImgsList;
    }

    public void setCheckImgsList(List<Map<String, Object>> checkImgsList) {
        this.checkImgsList = checkImgsList;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String[] getImgs() {
        return imgs;
    }

    public void setImgs(String[] imgs) {
        this.imgs = imgs;
    }

    public String[] getCheckImgs() {
        return checkImgs;
    }

    public void setCheckImgs(String[] checkImgs) {
        this.checkImgs = checkImgs;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inspectionId", getInspectionId())
            .append("checkContent", getCheckContent())
            .append("isProblems", getIsProblems())
            .append("rectificationType", getRectificationType())
            .append("termDate", getTermDate())
            .append("isRectification", getIsRectification())
            .append("reinspectionDate", getReinspectionDate())
            .append("rectificationOpinion", getRectificationOpinion())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .append("remark", getRemark())
            .toString();
    }
}
